package com.lp.exapmle03;

/**
 * @author: lp
 * @create: 2021-06-11 14:51
 * @description: TODO
 */
public class Car {
	private Integer id;
	private String name;


	public Car() {

	}

	public Car(Integer id,String name) {
		this.name = name;
		this.id = id;
	}

	public void start(){
		System.out.println("coming pre create car start method!");
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
}
